// miniprogram/pages/first/first.js
Page({

  data: {

  },

  //学生
  Tostudent:function(){
    wx.navigateTo({
      url: '../studentlogin/studentlogin',
    })
    // wx.cloud.callFunction({
    //   name:'unionid',
    //   success:res=>{
    //     console.log(res)
    //   }
    // })
  },
  //教工
  Toteacher:function(){
    wx.navigateTo({
      url: '../teacherlogin/teacherlogin',
    })
  },
  //保安
  Topolice:function(){
    wx.navigateTo({
      url: '../policelogin/policelogin',
    })
  },
  //外来人员
  Topeople:function(){
    wx.navigateTo({
      url: '../outpeople/outlogin/outlogin',
    })
  },
})